package cn.glutnn.auth.domain.convert;

import cn.glutnn.auth.domain.entity.AuthPermissionBO;
import cn.glutnn.auth.domain.entity.AuthRoleBO;
import cn.glutnn.auth.infra.basic.entity.AuthPermission;
import cn.glutnn.auth.infra.basic.entity.AuthRole;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * Author:   msh
 * Date:     2024/11/28 下午5:09
 * Description:
 */

@Mapper
public interface AuthPermissionConverter {
    AuthPermissionConverter INSTANCE = Mappers.getMapper(AuthPermissionConverter.class);

    AuthPermission convertBoToEntity(AuthPermissionBO authPermissionBO);
}
